import React           from 'react';
import {Provider}      from 'react-redux'
import store           from '../store'
import {BrowserRouter} from 'react-router-dom'
import routerConfig    from '../router/router.config'
import RouterViews     from '../router/router.view'


import './App.css';

function App() {
  return (
    <Provider store= {store}>
      <BrowserRouter>
        <RouterViews routers={routerConfig}/>
      </BrowserRouter>
    </Provider>
  );
}

export default App;
